import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Journey from '@/components/journey'
import Find from '@/components/find'
import Mine from '@/components/mine'
import Introduce from '@/components/introduce'
import china from '@/components/china'
import foreign from '@/components/foreign'
import lv from '@/components/lv'
import particulars from '@/components/particulars'
import myIndent from '@/components/myIndent'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect:'/home'
    },
    {
      path: '/home',
      name: 'Hello',
      component: Hello
    },
     {
      path: '/journey',
      name: 'journey',
      component: Journey
    },
     {
      path: '/find',
      name: 'find',
      component: Find
    },
     {
      path: '/mine',
      name: 'mine',
      component: Mine
    },
    {
      path: '/introduce',
      name: 'introduce',
      component: Introduce
    },
    {
      path: '/china',
      name: 'china',
      component: china
    },
    {
      path: '/foreign',
      name: 'foreign',
      component: foreign
    },
    {
      path: '/lv',
      name: 'lv',
      component: lv
    },
    {
      path: '/particulars',
      name: 'particulars',
      component: particulars
    },
    {
      path: '/myIndent',
      name: 'myIndent',
      component: myIndent
    }
  ]
})
